package cn.rongdao.jrkabao.ui.creditcard.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerAdapter;
import com.mifengkong.frtools.inputmethod.FRView;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.creditcard.CreditCardBalanceBean;

/**
 * Created by jack on 2017/9/11
 */

public class CreditCardBalanceAdapter extends FRBaseRecyclerAdapter<CreditCardBalanceBean, CreditCardBalanceViewHolder> {

    public CreditCardBalanceAdapter(Context context, OnItemClickListener<CreditCardBalanceViewHolder> listener) {
        super(context, listener);
    }

    @Override
    public CreditCardBalanceViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new CreditCardBalanceViewHolder(FRView.inflateLayout(getContext(), R.layout.item_credit_card_balance, parent, false));
    }
}
